<?php

namespace app\admin\controller;

use app\admin\controller\Admin;
use think\Request;
use think\Db;


class Main extends Admin
{
    /**
     * 后台主页
     * @return \think\response\View
     */
    public function index()
    {
        //  $list = db('tip_info')->order('id', 'desc')->limit(6)->select();
        //  // var_dump($list); exit;
        // return view('admin@main/index',[
        //     'list' => $list
        // ]);
        return view('admin@main/index');
    }

    public function _empty(Request $request)
    {
        return view('/error');
    }

}

